<div style="background-color: #FFF; overflow: hidden">
	<div title="{{$.lp.base}}" class="MWFTab">
		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
		  <tr>
		    <td class="editTableTitle">{{$.lp.id}}:</td>
		    <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
		  </tr>
		  <tr>
		    <td class="editTableTitle">{{$.lp.name}}:</td>
		    <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
		  </tr>
			<tr>
				<td class="editTableTitle">{{$.lp.readonly}}:</td>
				<td class="editTableValue">
					<input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>{{$.lp.yes}}
					<input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>{{$.lp.no}}
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">{{$.lp.disabled}}:</td>
				<td class="editTableValue">
					<input type="radio" name="disabled" value="true" text{($.disabled)?'checked':''}/>{{$.lp.yes}}
					<input type="radio" name="disabled" value="false" text{(!$.disabled)?'checked':''}/>{{$.lp.no}}
				</td>
			</tr>
		</table>

		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
			<tr>
				<td class="editTableValue"><b>{{$.lp.allowHalf}}:</b></td>
				<td>
					<input type="radio" name="allowHalf" value="true" text{($.allowHalf===true)?'checked':''}/>{{$.lp.yes}}
					<input type="radio" name="allowHalf" value="false" text{($.allowHalf!==true)?'checked':''}/>{{$.lp.no}}
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">{{$.lp.max}}:</td>
				<td class="editTableValue"><input type="number" name="max" value="text{$.max}" class="editTableInput"/></td>
			</tr>
			<tr>
				<td class="editTableTitle">{{$.lp.lowThreshold}}:</td>
				<td class="editTableValue">
					<div style="color:#999;">{{$.lp.lowThresholdNote}}</div>
					<input type="number" name="lowThreshold" value="text{$.lowThreshold}" class="editTableInput"/>
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">{{$.lp.highThreshold}}:</td>
				<td class="editTableValue">
					<div style="color:#999;">{{$.lp.highThresholdNote}}</div>
					<input type="number" name="highThreshold" value="text{$.highThreshold}" class="editTableInput"/>
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">{{$.lp.lowColor}}:</td>
				<td class="editTableValue">
					<div class="o2_vue MWFElementColor" name="lowColor"><el-color-picker v-model="lowColor" @change="change" size="mini" style="box-sizing: border-box!important;"></el-color-picker></div>
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">{{$.lp.mediumColor}}:</td>
				<td class="editTableValue">
					<div class="o2_vue MWFElementColor" name="mediumColor"><el-color-picker v-model="mediumColor" @change="change" size="mini" style="box-sizing: border-box!important;"></el-color-picker></div>
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">{{$.lp.highColor}}:</td>
				<td class="editTableValue">
					<div class="o2_vue MWFElementColor" name="highColor"><el-color-picker v-model="highColor" @change="change" size="mini" style="box-sizing: border-box!important;"></el-color-picker></div>
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">{{$.lp.voidColor}}:</td>
				<td class="editTableValue">
					<div class="o2_vue MWFElementColor" name="voidColor"><el-color-picker v-model="voidColor" @change="change" size="mini" style="box-sizing: border-box!important;"></el-color-picker></div>
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">{{$.lp.disabledVoidColor}}:</td>
				<td class="editTableValue">
					<div class="o2_vue MWFElementColor" name="disabledVoidColor"><el-color-picker v-model="disabledVoidColor" @change="change" size="mini" style="box-sizing: border-box!important;"></el-color-picker></div>
				</td>
			</tr>
			<tr>
				<td class="editTableTitle">{{$.lp.showAfter}}:</td>
				<td class="editTableValue">
					<input type="radio" name="showAfter" value="none" text{(!$.allowHalf || $.showAfter==='none')?'checked':''}
						   onclick="if (this.checked){
							$('text{$.pid}showAfterDiv').setStyle('display', 'none');
						}"/>{{$.lp.none}}
					<input type="radio" name="showAfter" value="text" text{($.showAfter==='text')?'checked':''}
						   onclick="if (this.checked){
							$('text{$.pid}showAfterDiv').setStyle('display', '');
							$('text{$.pid}textTable').setStyle('display', '');
						}"/>{{$.lp.showText}}
					<input type="radio" name="showAfter" value="score" text{($.showAfter==='score')?'checked':''}
						   onclick="if (this.checked){
							$('text{$.pid}showAfterDiv').setStyle('display', '');
							$('text{$.pid}textTable').setStyle('display', 'none');
						}"/>{{$.lp.showScore}}
				</td>
			</tr>
		</table>
		<div id="text{$.pid}showAfterDiv" style="display: text{(!$.showAfter || $.showAfter==='none') ? 'none':''};">
			<table>
				<tr>
					<td class="editTableTitle">{{$.lp.textColor}}:</td>
					<td class="editTableValue">
						<div class="o2_vue MWFElementColor" name="textColor"><el-color-picker v-model="textColor" @change="change" size="mini" style="box-sizing: border-box!important;"></el-color-picker></div>
					</td>
				</tr>
			</table>
			<table id="text{$.pid}textTable" style="display: text{($.showAfter==='text') ? '':'none'};">
				<tr>
					<td class="editTableTitle">{{$.lp.textContent}}:</td>
					<td class="editTableValue">
						<input type="text" name="texts" value="text{$.texts}" class="editTableInput"/>
					</td>
				</tr>
			</table>
		</div>
		<div class="MWFMaplist" name="elStyles" title="{{$.lp.style}}"></div>
		<div class="MWFMaplist" name="elProperties" title="{{$.lp.attribute}}"></div>

		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
			<tr>
				<td class="editTableTitle">{{$.lp.compute}}:</td>
				<td class="editTableValue">
					<input type="radio" name="compute" value="create" text{(!$.compute || $.compute=='create')?'checked':''}/>{{$.lp.create}}
					<input type="radio" name="compute" value="save" text{($.compute=='save')?'checked':''}/>{{$.lp.save}}
					<input type="radio" name="compute" value="show" text{($.compute=='show')?'checked':''}/>{{$.lp.show}}
				</td>
			</tr>
		</table>

		<div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>

		<div class="MWFValidation" name="validationConfig"></div>
		<div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
		
	</div>
	<div title="Vue"  class="MWFTab">
		<div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Data</div>
		<div style="display: text{($.vueData && $.vueData.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueData" title="Vue Data (S)"></div>
		<div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Method</div>
		<div div style="display: text{($.vueMethods && $.vueMethods.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueMethods" title="Vue Methods (S)"></div>
		<div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue CSS</div>
		<div div style="display: text{($.vueCss && $.vueCss.code) ? 'block': 'none'}" class="MWFCssArea" name="vueCss" title="Vue Css (S)"></div>

		<div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Slots</div>
		<div style="display: text{($.vueSlot) ? 'block' : 'none'}">
			<div class="MWFHtmlEditorArea" name="vueSlot" title="Input Slot (HTML)"></div>
		</div>
	</div>
	<div title="{{$.lp.section}}" class="MWFTab">
		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
			<tr>
				<td class="editTableTitle">{{$.lp.enableSection}}:</td>
				<td class="editTableValue">
					<input onclick="if (this.checked){ $('text{$.pid}sectionByEditArea').setStyle('display', 'block')}" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>{{$.lp.yes}}
					<input onclick="if (this.checked){ $('text{$.pid}sectionByEditArea').setStyle('display', 'none')}" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>{{$.lp.no}}
				</td>
			</tr>
		</table>

		<div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
			<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
				<tr>
					<td class="editTableTitle">{{$.lp.sectionBy}}:</td>
					<td class="editTableValue">
						<input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{(($.sectionBy=='person') || ($.sectionBy!='unit' && $.sectionBy!='activity' && $.sectionBy!='script'))?'checked':''} type="radio" value="person"/>{{$.lp.handler}}<br/>
						<input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}"  name="sectionBy" text{($.sectionBy=='unit')?'checked':''} type="radio" value="unit"/>{{$.lp.handlerUnit}}<br/>
						<input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}"  name="sectionBy" text{($.sectionBy=='activity')?'checked':''} type="radio" value="activity"/>{{$.lp.activityId}}<br/>
						<input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}"  name="sectionBy" text{($.sectionBy=='splitValue')?'checked':''} type="radio" value="splitValue"/>{{$.lp.splitValue}}<br/>
						<input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'block');}"  name="sectionBy" text{($.sectionBy=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}<br/>
					</td>
				</tr>
			</table>
			<div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
				<div class="MWFScriptArea" name="sectionByScript" title="{{$.lp.sectionBy}} (S)"></div>
			</div>
		</div>
	</div>
	<div title="{{$.lp.event}}"  class="MWFTab">
		<div class="MWFEventsArea" name="events"></div>
	</div>
	<div title="HTML"  class="MWFTab">
		<div class="MWFHTMLArea" style="width:100%; height:400px; border:0px;font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
	</div>
	<div title="JSON"  class="MWFTab">
		<div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
	</div>
</div>
